import Flex from "@/components/flex";
import { Typography } from "@/components/typography";
import { toCurrency } from "@/utils/funs";

const { Text } = Typography;

/** 统计 */
export function Statistics() {
    return (
        <Flex justify='space-between'>
            <Flex vertical>
                <Text>订单金额</Text>
                <Text>{toCurrency(1000)}</Text>
            </Flex>
            <Flex vertical align='center'>
                <Text>已付金额</Text>
                <Text>{toCurrency(1000)}</Text>
            </Flex>
            <Flex vertical align='flex-end'>
                <Text>剩余金额</Text>
                <Text>{toCurrency(1000)}</Text>
            </Flex>
        </Flex>
    )
}